const {ipcRenderer, remote} = require('electron')

/** case3 演示渲染进程与渲染进程间通信*/
let sharedObject = remote.getGlobal('sharedObject')
let win2WebContentsId = sharedObject.win2WebContentsId

ipcRenderer.sendTo(win2WebContentsId, 'do-some-work', 1)
